﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;

namespace nwrole.lib2 {
    [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerSession, ConcurrencyMode = ConcurrencyMode.Reentrant)]
    public class OrchestratorCtrlService : IOrchestratorCtrlContract {

        private OrchestratorService orchestratorService;

        public OrchestratorCtrlService(OrchestratorService orchestratorService) {
            this.orchestratorService = orchestratorService;
        }

        public int GetNumSupervisors() {
            return orchestratorService.NumConnectedSupervisors;
        }
    }
}
